@import '@/styles/index.scss';

.visitor-page {
  width: 100%;

  .body {
    padding-bottom: $pd;
    background-color: #fff;

    .list {
      border-top: 2rpx solid $bdc;

      .item {
        position: relative;
        display: flex;
        align-items: center;
        padding: 20rpx $pd;
        border-bottom: 2rpx solid $bdc;

        .avatar {
          width: 120rpx;
          height: 120rpx;

          .image {
            display: block;
            width: 100%;
            height: 100%;
          }
        }

        .user {
          flex: 1;
          padding-left: $pd;
          overflow: hidden;
          text-overflow:ellipsis;
          white-space: nowrap;

          .nick {
            margin-bottom: 10rpx;
            width: 100%;
            margin-bottom: 10rpx;
            overflow: hidden;
            text-overflow:ellipsis;
            white-space: nowrap;
          }

          .job {
            color: $fc-t;
            font-size: $fss;
          }
        }

        .content {
          position: absolute;
          right: 20rpx;
          bottom: 20rpx;
          padding-left: 20rpx;
          overflow: hidden;
          text-overflow:ellipsis;
          white-space: nowrap;

          .icon {
            display: inline-block;
            vertical-align: top;
            width: 40rpx;
            height: 40rpx;

            .image {
              display: block;
              width: 100%;
              height: 100%;
            }
          }

          .text {
            display: inline-block;
            vertical-align: top;
          }
        }
      }
    }
  }
}